/*
* Copyright 2010 Pavel Kozhin 
*
* Licensed under the Apache License, Version 2.0 (the "License"); 
* you may not use this file except in compliance with the License. 
* You may obtain a copy of the License at 
* 
* http://www.apache.org/licenses/LICENSE-2.0
* 
* Unless required by applicable law or agreed to in writing, software 
* distributed  under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
* See the License for the specific language governing permissions and 
* limitations under the License.
*
* Author: Pavel Kozhin.
*/

package org.etherframework.wire
{
	import mx.core.MXMLObjectAdapter;
	
	public class Wire extends MXMLObjectAdapter
	{
		private var _injections:Array = [];
		
		[ArrayElementType("org.etherframework.wire.Injection")]
		[Inspectable(arrayType="org.etherframework.wire.Injection")]
		public function get injections():Array
		{
			return _injections;
		}
		
		public function set injections(value:Array):void
		{
			_injections = value;
		}
		
		private var _packages:Array = [];
		
		[ArrayElementType("String")]
		[Inspectable(arrayType="String")]
		public function get packages():Array
		{
			return _packages;
		}
		
		public function set packages(value:Array):void
		{
			_packages = value;
		}
		
		private var _hooked:Array = [];
		
		[ArrayElementType("Class")]
		[Inspectable(arrayType="Class")]
		public function get hooked():Array
		{
			return _hooked;
		}
		
		public function set hooked(value:Array):void
		{
			_hooked = value;
		}
		
		private var _resolvers:Array = [];
		
		public function get resolvers():Array
		{
			return _resolvers;
		}
		
		public function set resolvers(value:Array):void
		{
			_resolvers = value;
		}
		
	}
}